package org.jeecg.modules.demo.oms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 订单中所包含的商品
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("oms_order_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="oms_order_item对象", description="订单中所包含的商品")
public class OmsOrderItem {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
	private java.lang.Integer orderId;
	/**订单编号*/
	@Excel(name = "订单编号", width = 15)
    @ApiModelProperty(value = "订单编号")
	private java.lang.String orderSn;
	/**productId*/
	@Excel(name = "productId", width = 15)
    @ApiModelProperty(value = "productId")
	private java.lang.Integer productId;
	/**productPic*/
	@Excel(name = "productPic", width = 15)
    @ApiModelProperty(value = "productPic")
	private java.lang.String productPic;
	/**productName*/
	@Excel(name = "productName", width = 15)
    @ApiModelProperty(value = "productName")
	private java.lang.String productName;
	/**productBrand*/
	@Excel(name = "productBrand", width = 15)
    @ApiModelProperty(value = "productBrand")
	private java.lang.String productBrand;
	/**productSn*/
	@Excel(name = "productSn", width = 15)
    @ApiModelProperty(value = "productSn")
	private java.lang.String productSn;
	/**销售价格*/
	@Excel(name = "销售价格", width = 15)
    @ApiModelProperty(value = "销售价格")
	private java.math.BigDecimal productPrice;
	/**购买数量*/
	@Excel(name = "购买数量", width = 15)
    @ApiModelProperty(value = "购买数量")
	private java.lang.Integer productQuantity;
	/**商品sku编号*/
	@Excel(name = "商品sku编号", width = 15)
    @ApiModelProperty(value = "商品sku编号")
	private java.lang.Integer productSkuId;
	/**商品sku条码*/
	@Excel(name = "商品sku条码", width = 15)
    @ApiModelProperty(value = "商品sku条码")
	private java.lang.String productSkuCode;
	/**商品分类id*/
	@Excel(name = "商品分类id", width = 15)
    @ApiModelProperty(value = "商品分类id")
	private java.lang.Integer productCategoryId;
	/**商品的销售属性*/
	@Excel(name = "商品的销售属性", width = 15)
    @ApiModelProperty(value = "商品的销售属性")
	private java.lang.String sp1;
	/**sp2*/
	@Excel(name = "sp2", width = 15)
    @ApiModelProperty(value = "sp2")
	private java.lang.String sp2;
	/**sp3*/
	@Excel(name = "sp3", width = 15)
    @ApiModelProperty(value = "sp3")
	private java.lang.String sp3;
	/**商品促销名称*/
	@Excel(name = "商品促销名称", width = 15)
    @ApiModelProperty(value = "商品促销名称")
	private java.lang.String promotionName;
	/**商品促销分解金额*/
	@Excel(name = "商品促销分解金额", width = 15)
    @ApiModelProperty(value = "商品促销分解金额")
	private java.math.BigDecimal promotionAmount;
	/**优惠券优惠分解金额*/
	@Excel(name = "优惠券优惠分解金额", width = 15)
    @ApiModelProperty(value = "优惠券优惠分解金额")
	private java.math.BigDecimal couponAmount;
	/**积分优惠分解金额*/
	@Excel(name = "积分优惠分解金额", width = 15)
    @ApiModelProperty(value = "积分优惠分解金额")
	private java.math.BigDecimal integrationAmount;
	/**该商品经过优惠后的分解金额*/
	@Excel(name = "该商品经过优惠后的分解金额", width = 15)
    @ApiModelProperty(value = "该商品经过优惠后的分解金额")
	private java.math.BigDecimal realAmount;
	/**giftIntegration*/
	@Excel(name = "giftIntegration", width = 15)
    @ApiModelProperty(value = "giftIntegration")
	private java.lang.Integer giftIntegration;
	/**giftGrowth*/
	@Excel(name = "giftGrowth", width = 15)
    @ApiModelProperty(value = "giftGrowth")
	private java.lang.Integer giftGrowth;
	/**商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]*/
	@Excel(name = "商品销售属性", width = 15)
    @ApiModelProperty(value = "商品销售属性")
	private java.lang.String productAttr;
	/**所属店铺*/
	@Excel(name = "所属店铺", width = 15)
    @ApiModelProperty(value = "所属店铺")
	private java.lang.Integer storeId;
	/**status*/
	@Excel(name = "status", width = 15)
    @ApiModelProperty(value = "status")
	private java.lang.Integer status;
	/**type*/
	@Excel(name = "type", width = 15)
    @ApiModelProperty(value = "type")
	private java.lang.Integer type;
	/**storeName*/
	@Excel(name = "storeName", width = 15)
    @ApiModelProperty(value = "storeName")
	private java.lang.String storeName;
}
